package com.primaryedu.bean;

/**
 * 用户个人信息
 *
 * @author jun.wang
 * @description
 * @data 2016年12月19日
 */
public class AccountBean {


    /**
     * result : 1
     * reason : 登录成功
     * data : {"id":"e279ff7b351a4927b7951b6870bdcb87","remarks":"","createBy":{"id":"1","loginFlag":"1","photourl":"http://218.94.4.218/static/resources/images/user/photo.png","sex":"","nickname":"","province":"","city":"","area":"","educationl":"","educationlShow":"","school":"","aptitudefileurl":"","myself":"","myselfurl":"","shareCode":"","recommendCode":"","points":0,"iftj":"0","hourcount":0,"roleids":"","menuIds":""},"createDate":"2018-03-08 17:47:47","updateDate":"2018-03-09 14:04:00","company":{"id":"82ae3a84f339483bb5dbc8edfab9f27a","parentIds":"0,1,","name":"班级","sort":30,"area":{"id":"15d89b7baee34d549751ec9c1a53ecdf","parentIds":"0,","name":"江苏省","sort":30,"parentId":"0"},"type":"2","level":"0","parentId":"1"},"office":{"id":"c35b0fb3a6e44dbd9170bc7f75af298e","parentIds":"0,1,82ae3a84f339483bb5dbc8edfab9f27a,","name":"六年级01班","sort":30,"area":{"id":"15d89b7baee34d549751ec9c1a53ecdf","parentIds":"0,","name":"江苏省","sort":30,"parentId":"0"},"type":"2","level":"0","parentId":"82ae3a84f339483bb5dbc8edfab9f27a"},"loginName":"18030101","no":"","name":"成俊鹏","email":"","phone":"","mobile":"","userType":"3","loginFlag":"1","qq":"","photourl":"http://218.94.4.218/static/resources/images/user/photo.png","sex":"男","nickname":"","province":"","city":"","area":"","educationl":"","educationlShow":"","school":"","aptitudefileurl":"","myself":"","myselfurl":"","shareCode":"","recommendCode":"","points":0,"iftj":"0","hourcount":0,"roleids":"","menuIds":""}
     */

    private int result;
    private String reason;
    private DataBean data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : e279ff7b351a4927b7951b6870bdcb87
         * remarks :
         * createBy : {"id":"1","loginFlag":"1","photourl":"http://218.94.4.218/static/resources/images/user/photo.png","sex":"","nickname":"","province":"","city":"","area":"","educationl":"","educationlShow":"","school":"","aptitudefileurl":"","myself":"","myselfurl":"","shareCode":"","recommendCode":"","points":0,"iftj":"0","hourcount":0,"roleids":"","menuIds":""}
         * createDate : 2018-03-08 17:47:47
         * updateDate : 2018-03-09 14:04:00
         * company : {"id":"82ae3a84f339483bb5dbc8edfab9f27a","parentIds":"0,1,","name":"班级","sort":30,"area":{"id":"15d89b7baee34d549751ec9c1a53ecdf","parentIds":"0,","name":"江苏省","sort":30,"parentId":"0"},"type":"2","level":"0","parentId":"1"}
         * office : {"id":"c35b0fb3a6e44dbd9170bc7f75af298e","parentIds":"0,1,82ae3a84f339483bb5dbc8edfab9f27a,","name":"六年级01班","sort":30,"area":{"id":"15d89b7baee34d549751ec9c1a53ecdf","parentIds":"0,","name":"江苏省","sort":30,"parentId":"0"},"type":"2","level":"0","parentId":"82ae3a84f339483bb5dbc8edfab9f27a"}
         * loginName : 18030101
         * no :
         * name : 成俊鹏
         * email :
         * phone :
         * mobile :
         * userType : 3
         * loginFlag : 1
         * qq :
         * serial:610146304
         * photourl : http://218.94.4.218/static/resources/images/user/photo.png
         * sex : 男
         * nickname :
         * province :
         * city :
         * area :
         * educationl :
         * educationlShow :
         * school :
         * aptitudefileurl :
         * myself :
         * myselfurl :
         * shareCode :
         * recommendCode :
         * points : 0
         * iftj : 0
         * hourcount : 0
         * roleids :
         * menuIds :
         */

        private String id;
        private String remarks;
        private CreateByBean createBy;
        private String createDate;
        private String updateDate;
        private CompanyBean company;
        private OfficeBean office;
        private String loginName;
        private String no;
        private String name;
        private String email;
        private String phone;
        private String mobile;
        private String userType;
        private String loginFlag;
        private String qq;
        private String serial;
        private String photourl;
        private String sex;
        private String nickname;
        private String province;
        private String city;
        private String area;
        private String educationl;
        private String educationlShow;
        private String school;
        private String aptitudefileurl;
        private String myself;
        private String myselfurl;
        private String shareCode;
        private String recommendCode;
        private int points;
        private String iftj;
        private int hourcount;
        private String roleids;
        private String menuIds;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public CreateByBean getCreateBy() {
            return createBy;
        }

        public void setCreateBy(CreateByBean createBy) {
            this.createBy = createBy;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        public CompanyBean getCompany() {
            return company;
        }

        public void setCompany(CompanyBean company) {
            this.company = company;
        }

        public OfficeBean getOffice() {
            return office;
        }

        public void setOffice(OfficeBean office) {
            this.office = office;
        }

        public String getLoginName() {
            return loginName;
        }

        public void setLoginName(String loginName) {
            this.loginName = loginName;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getUserType() {
            return userType;
        }

        public void setUserType(String userType) {
            this.userType = userType;
        }

        public String getLoginFlag() {
            return loginFlag;
        }

        public void setLoginFlag(String loginFlag) {
            this.loginFlag = loginFlag;
        }

        public String getQq() {
            return qq;
        }

        public void setQq(String qq) {
            this.qq = qq;
        }

        public String getSerial() {
            return serial;
        }

        public void setSerial(String serial) {
            this.serial = serial;
        }
        public String getPhotourl() {
            return photourl;
        }

        public void setPhotourl(String photourl) {
            this.photourl = photourl;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public String getEducationl() {
            return educationl;
        }

        public void setEducationl(String educationl) {
            this.educationl = educationl;
        }

        public String getEducationlShow() {
            return educationlShow;
        }

        public void setEducationlShow(String educationlShow) {
            this.educationlShow = educationlShow;
        }

        public String getSchool() {
            return school;
        }

        public void setSchool(String school) {
            this.school = school;
        }

        public String getAptitudefileurl() {
            return aptitudefileurl;
        }

        public void setAptitudefileurl(String aptitudefileurl) {
            this.aptitudefileurl = aptitudefileurl;
        }

        public String getMyself() {
            return myself;
        }

        public void setMyself(String myself) {
            this.myself = myself;
        }

        public String getMyselfurl() {
            return myselfurl;
        }

        public void setMyselfurl(String myselfurl) {
            this.myselfurl = myselfurl;
        }

        public String getShareCode() {
            return shareCode;
        }

        public void setShareCode(String shareCode) {
            this.shareCode = shareCode;
        }

        public String getRecommendCode() {
            return recommendCode;
        }

        public void setRecommendCode(String recommendCode) {
            this.recommendCode = recommendCode;
        }

        public int getPoints() {
            return points;
        }

        public void setPoints(int points) {
            this.points = points;
        }

        public String getIftj() {
            return iftj;
        }

        public void setIftj(String iftj) {
            this.iftj = iftj;
        }

        public int getHourcount() {
            return hourcount;
        }

        public void setHourcount(int hourcount) {
            this.hourcount = hourcount;
        }

        public String getRoleids() {
            return roleids;
        }

        public void setRoleids(String roleids) {
            this.roleids = roleids;
        }

        public String getMenuIds() {
            return menuIds;
        }

        public void setMenuIds(String menuIds) {
            this.menuIds = menuIds;
        }

        public static class CreateByBean {
            /**
             * id : 1
             * loginFlag : 1
             * photourl : http://218.94.4.218/static/resources/images/user/photo.png
             * sex :
             * nickname :
             * province :
             * city :
             * area :
             * educationl :
             * educationlShow :
             * school :
             * aptitudefileurl :
             * myself :
             * myselfurl :
             * shareCode :
             * recommendCode :
             * points : 0
             * iftj : 0
             * hourcount : 0
             * roleids :
             * menuIds :
             */

            private String id;
            private String loginFlag;
            private String photourl;
            private String sex;
            private String nickname;
            private String province;
            private String city;
            private String area;
            private String educationl;
            private String educationlShow;
            private String school;
            private String aptitudefileurl;
            private String myself;
            private String myselfurl;
            private String shareCode;
            private String recommendCode;
            private int points;
            private String iftj;
            private int hourcount;
            private String roleids;
            private String menuIds;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getLoginFlag() {
                return loginFlag;
            }

            public void setLoginFlag(String loginFlag) {
                this.loginFlag = loginFlag;
            }

            public String getPhotourl() {
                return photourl;
            }

            public void setPhotourl(String photourl) {
                this.photourl = photourl;
            }

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getArea() {
                return area;
            }

            public void setArea(String area) {
                this.area = area;
            }

            public String getEducationl() {
                return educationl;
            }

            public void setEducationl(String educationl) {
                this.educationl = educationl;
            }

            public String getEducationlShow() {
                return educationlShow;
            }

            public void setEducationlShow(String educationlShow) {
                this.educationlShow = educationlShow;
            }

            public String getSchool() {
                return school;
            }

            public void setSchool(String school) {
                this.school = school;
            }

            public String getAptitudefileurl() {
                return aptitudefileurl;
            }

            public void setAptitudefileurl(String aptitudefileurl) {
                this.aptitudefileurl = aptitudefileurl;
            }

            public String getMyself() {
                return myself;
            }

            public void setMyself(String myself) {
                this.myself = myself;
            }

            public String getMyselfurl() {
                return myselfurl;
            }

            public void setMyselfurl(String myselfurl) {
                this.myselfurl = myselfurl;
            }

            public String getShareCode() {
                return shareCode;
            }

            public void setShareCode(String shareCode) {
                this.shareCode = shareCode;
            }

            public String getRecommendCode() {
                return recommendCode;
            }

            public void setRecommendCode(String recommendCode) {
                this.recommendCode = recommendCode;
            }

            public int getPoints() {
                return points;
            }

            public void setPoints(int points) {
                this.points = points;
            }

            public String getIftj() {
                return iftj;
            }

            public void setIftj(String iftj) {
                this.iftj = iftj;
            }

            public int getHourcount() {
                return hourcount;
            }

            public void setHourcount(int hourcount) {
                this.hourcount = hourcount;
            }

            public String getRoleids() {
                return roleids;
            }

            public void setRoleids(String roleids) {
                this.roleids = roleids;
            }

            public String getMenuIds() {
                return menuIds;
            }

            public void setMenuIds(String menuIds) {
                this.menuIds = menuIds;
            }
        }

        public static class CompanyBean {
            /**
             * id : 82ae3a84f339483bb5dbc8edfab9f27a
             * parentIds : 0,1,
             * name : 班级
             * sort : 30
             * area : {"id":"15d89b7baee34d549751ec9c1a53ecdf","parentIds":"0,","name":"江苏省","sort":30,"parentId":"0"}
             * type : 2
             * level : 0
             * parentId : 1
             */

            private String id;
            private String parentIds;
            private String name;
            private int sort;
            private AreaBean area;
            private String type;
            private String level;
            private String parentId;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getParentIds() {
                return parentIds;
            }

            public void setParentIds(String parentIds) {
                this.parentIds = parentIds;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public AreaBean getArea() {
                return area;
            }

            public void setArea(AreaBean area) {
                this.area = area;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getLevel() {
                return level;
            }

            public void setLevel(String level) {
                this.level = level;
            }

            public String getParentId() {
                return parentId;
            }

            public void setParentId(String parentId) {
                this.parentId = parentId;
            }

            public static class AreaBean {
                /**
                 * id : 15d89b7baee34d549751ec9c1a53ecdf
                 * parentIds : 0,
                 * name : 江苏省
                 * sort : 30
                 * parentId : 0
                 */

                private String id;
                private String parentIds;
                private String name;
                private int sort;
                private String parentId;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getParentIds() {
                    return parentIds;
                }

                public void setParentIds(String parentIds) {
                    this.parentIds = parentIds;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getSort() {
                    return sort;
                }

                public void setSort(int sort) {
                    this.sort = sort;
                }

                public String getParentId() {
                    return parentId;
                }

                public void setParentId(String parentId) {
                    this.parentId = parentId;
                }
            }
        }

        public static class OfficeBean {
            /**
             * id : c35b0fb3a6e44dbd9170bc7f75af298e
             * parentIds : 0,1,82ae3a84f339483bb5dbc8edfab9f27a,
             * name : 六年级01班
             * sort : 30
             * area : {"id":"15d89b7baee34d549751ec9c1a53ecdf","parentIds":"0,","name":"江苏省","sort":30,"parentId":"0"}
             * type : 2
             * level : 0
             * parentId : 82ae3a84f339483bb5dbc8edfab9f27a
             */

            private String id;
            private String parentIds;
            private String name;
            private int sort;
            private AreaBeanX area;
            private String type;
            private String level;
            private String parentId;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getParentIds() {
                return parentIds;
            }

            public void setParentIds(String parentIds) {
                this.parentIds = parentIds;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public AreaBeanX getArea() {
                return area;
            }

            public void setArea(AreaBeanX area) {
                this.area = area;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getLevel() {
                return level;
            }

            public void setLevel(String level) {
                this.level = level;
            }

            public String getParentId() {
                return parentId;
            }

            public void setParentId(String parentId) {
                this.parentId = parentId;
            }

            public static class AreaBeanX {
                /**
                 * id : 15d89b7baee34d549751ec9c1a53ecdf
                 * parentIds : 0,
                 * name : 江苏省
                 * sort : 30
                 * parentId : 0
                 */

                private String id;
                private String parentIds;
                private String name;
                private int sort;
                private String parentId;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getParentIds() {
                    return parentIds;
                }

                public void setParentIds(String parentIds) {
                    this.parentIds = parentIds;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getSort() {
                    return sort;
                }

                public void setSort(int sort) {
                    this.sort = sort;
                }

                public String getParentId() {
                    return parentId;
                }

                public void setParentId(String parentId) {
                    this.parentId = parentId;
                }
            }
        }
    }

    @Override
    public String toString() {
        return "AccountBean{" +
                "result=" + result +
                ", reason='" + reason + '\'' +
                ", data=" + data +
                '}';
    }
}
